Completing Advanced Configuration
124
Getting Started Guide
•
.bashrc
Commands in this files are executed each time you open a shell command
line window (for example, each time you open another terminal emulator
window in KDE). Include commands in this file that should be executed
each time you start working at a command line (for example, defining
environment variables).
You can open either of these files in the Text Editor and add commands that you
want to have executed automatically. Because the standard shell (command line
interpreter), bash, includes a complete programming language, the commands
that you can include in these files can become very complex. Of course, you can
also include simple commands like these examples:
To update your PATH variable to refer to additional directory paths, include this
line:
export PATH=$PATH:/new/path/directory
To set an environment variable, include this line:
export VAR_NAME=/home/myuser/datafiles
To start a program running in the background, include this line:
program_name &
Adding to Your Personal Menu
The main menu of KDE includes dozens of useful applications, for graphics, net-
working, administration, and so forth. As you work with OpenLinux, however,
and install other applications, it can be helpful to have them included on the KDE
menu.
The main menu includes a submenu labeled Personal, which appears after you
have defined at least one menu item for it. You can add any applications that you
choose to this Personal menu.
Some Linux applications (such as StarOffice 5.0) will automatically integrate
with KDE, providing automatic access via your Personal menu, adding their data
formats, and so forth.